from django.urls import path, re_path
from . import views

urlpatterns = [
    path('', views.index, name='index'),                     # 首页
    re_path('(^\d+$)', views.re_handler, name='re'),         # 全数字
    re_path('(^\w+.*\d+$)', views.user_handler, name='re'),  # 字母或下划线开头, 数字结尾
]
